package org.cptz.game.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 玩家-局
 * </p>
 *
 * @author cpt.z
 * @since 2022-08-07
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("match_player")
@ApiModel(value = "MatchPlayer对象", description = "玩家-局")
public class MatchPlayer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("局id")
    private Long matchId;

    @ApiModelProperty("玩家id")
    private Long playerId;

    @ApiModelProperty("玩家位置")
    private String position;
}
